home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / BUSINESS / FEDXLABL.LZH / FEDINST.BAT < prev    next >
DOS Batch File  |  1991-03-14  |  1KB  |  39 lines

  1. @echo off
  2. cls
  3. if '%1'== '' goto syntax
  4. if '%2'== '' goto syntax
  5. echo Federal Express Label Printer Installer
  6. echo Copyright 1990, 1991 Thomas V. Sollas III
  7. echo/
  8. echo This batch file will create a directory on your hard drive %1
  9. echo with the following path:
  10. echo %1\%2.
  11. echo If this is not correct, please press Ctrl-C (hold the Ctrl key down
  12. echo and press C) when asked to continue, otherwise just press enter.
  13. echo/
  14. pause
  15. echo Copying files...
  16. md %1\%2
  17. copy *.EXE %1\%2
  18. copy *.HLP %1\%2
  19. copy *.DOC %1\%2
  20. copy *.DAT %1\%2
  21. echo Done.
  22. goto end
  23. :Syntax
  24. echo You must enter a drive and path to install this program onto.
  25. echo Syntax:
  26. echo/
  27. echo        FEDINST d: path
  28. echo/
  29. echo where d: is the drive letter and path is the directory.  This
  30. echo batch file will create this directory.
  31. echo/
  32. echo        FEDINST C: FEDEXLBL
  33. echo/
  34. echo This command would install the program and its files into the
  35. echo directory C:\FEDEXLBL. Make sure you are in the disk drive that
  36. echo the program and its files are on. If the disk is in drive A:
  37. echo then change to drive A: by typing A: at the DOS prompt.
  38. :end
  39.